package com.nail.api.customMake.service;

import java.util.List;

import com.nail.api.customMake.bean.Message;
import com.nail.service.IBaseService;
import com.nail.utils.PageResult;

public interface IMessageService extends IBaseService {
	
	public void addMessage(Message message);
	
	public void setIsRead(String messageId);

	public PageResult getMessageByUserId(Long userId,PageResult pageResult);
	
	public PageResult getMessageByCondition(Long userId,PageResult pageResult,String condition);
	
	public List<Message> setIsReadAndGetData(String messageId,Long userId,Integer start,Integer end);
}
